//
// Dreams Gate Launcher
// www.dg8.ru
//
// GNU GPL v3
//

#pragma once

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN
#endif

#include "targetver.h"

#include <vector>
#include <list>

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
#define _AFX_ALL_WARNINGS

#include <afxwin.h>        
#include <afxext.h>        


#include <afxdisp.h>       



#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>      
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>        
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <afxcontrolbars.h>

#include <afxdhtml.h>

#ifndef IMPLEMENT_OLECREATE2
#define IMPLEMENT_OLECREATE2(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
        AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \
                RUNTIME_CLASS(class_name), TRUE, _T(external_name)); \
        const AFX_DATADEF GUID class_name::guid = \
                { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } };
#endif // IMPLEMENT_OLECREATE2

#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif

// for console
#include <stdio.h>
#include <io.h>
#include <fcntl.h>

// libsvn
#include "svn_client.h"
#include "svn_cmdline.h"
#include "svn_pools.h"
#include "svn_config.h"
#include "svn_fs.h"

#pragma comment(lib, "libsvn_client-1.lib")
#pragma comment(lib, "libsvn_subr-1")
#pragma comment(lib, "libapr-1.lib")
#pragma comment(lib, "libsvn_fs-1.lib")
#pragma comment(lib, "libsvn_wc-1.lib")

#include "data.h"
#include "sys_lang.h"

#include <shlobj.h>
#pragma comment(lib, "shell32.lib")
